<template>
  <div>
    <div>canvas</div>
    <canvas id="pie1" width="100px" height="100px" />
    <canvas id="pie2" width="100px" height="100px" />
  </div>
</template>
<script>
import { Chart } from '@/utils/charts.js'
export default {
  name: 'Bar',
  data() {
    return {
    }
  },
  computed: {
  },
  created() {

  },
  mounted() {
    this.getData()
  },
  methods: {
    getData() {
      new Chart('pie1').ratePie(90)
      new Chart('pie2').ratePie(60)
    }
  }
}
</script>
